package cn.study.service.impl;

import cn.study.entity.StudyNotice;
import cn.study.mapper.StudyNoticeMapper;
import cn.study.service.StudyNoticeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 公告表 服务实现类
 * </p>
 *
 * @author qiao
 * @since 2020-06-22
 */
@Service
public class StudyNoticeServiceImpl extends ServiceImpl<StudyNoticeMapper, StudyNotice> implements StudyNoticeService {

    @Resource
    StudyNoticeMapper studyNoticeMapper;

    @Override
    public List<StudyNotice> getlist() {
        return studyNoticeMapper.getlist();
    }
}
